<html>
<head>
<title>今日菜单</title>
</head>
<body>
<h2>咱家厨房今日菜单 {{today}} 中餐</h2>
<table>
<tr>
<th>名称</th>
<th>内容</th>
<th>价格</th>
<th>状态</th>
</tr>
{% for t in package %}
<tr>
   <td> {{ t.name }}</td>
   <td>
    {% if t.content|length > 1 %}
        (
        {%for c in t.content.all %}
            <a href="/dish/{{c.id}}">{{ c.name }}</a>
        {%endfor%}
        )
    {%endif%}
   </td>
   <td>
 {{ t.price }}元 
 </td>
 <td>
    {%if t.status = 1%}
        <span style="color:#F00"> {{t.get_status_display}} </span> 
    {% else %}
        {{t.get_status_display}}
    {%endif%}
</td>
{% endfor %}
</table>
</body>
</html>
